package com.example.smartgreenhouse.dto;

import lombok.Data;

@Data
public class DataPoint24H {
    private String time;         // 时间点（格式：HH:00）
    private Integer value;       // 当前值
    private Integer changeValue; // 变化值
    private Float changeRate;    // 变化率

    public DataPoint24H() {}

    public DataPoint24H(String time, Integer value, Integer changeValue, Float changeRate) {
        this.time = time;
        this.value = value;
        this.changeValue = changeValue;
        this.changeRate = changeRate;
    }
}